//
//  LTM_DataDeal.h
//  LTM_Lib_Network_Objc
//
//  Created by 柯南 on 2021/12/7.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

#define NotificationNetwork400 @"LTM_Network400_Notification"
#define NotificationNetwork403 @"LTM_Network403_Notification"
#define NotificationNetwork500 @"LTM_Network500_Notification"
#define NotificationNetworkOthoer @"LTM_NetworkOthoer_Notification"

@interface LTM_DataDeal : NSObject

+ (void)requestDealSuccess:(id)response
                    Target:(Class)className
                   Success:(void(^)(NSObject *model))success
                   Failure:(void(^)(NSError *error))failure;

+ (void)requestDealFailure:(NSError *)error
                   Failure:(void(^)(NSError *error))failure;
@end

NS_ASSUME_NONNULL_END
